powered by
bn.fit
grain
# S3 method for grain as.bn.fit(x) # S3 method for bn.fit as.grain(x)
as.bn.fit
as.grain
## Not run: ------------------------------------ # library(gRain) # a = bn.fit(hc(learning.test), learning.test) # b = as.grain(a) # c = as.bn.fit(b) ## ---------------------------------------------
Run the code above in your browser using DataLab